home *** CD-ROM | disk | FTP | other *** search
/ Yellows - Privacy (Deluxe) / Akira Gomi Photographs - Yellows: Privacy (Deluxe) - Disc 1.iso / mono / w.dxr / 00064.ls < prev    next >
Encoding:
Text File  |  1996-07-06  |  574 b   |  23 lines

  1. global foremovie
  2.  
  3. on startpictset
  4.   global startpictnum
  5.   if (startpictnum = 9) or (startpictnum = 11) then
  6.     set the castNum of sprite 3 to the number of member "009/011"
  7.   else
  8.     if (startpictnum = 10) or (startpictnum = 23) then
  9.       set the castNum of sprite 3 to the number of member "010/023"
  10.     else
  11.       set a to digitchange(startpictnum)
  12.       set the castNum of sprite 3 to the number of member a
  13.     end if
  14.   end if
  15. end
  16.  
  17. on digitchange num
  18.   set a to num / 100
  19.   set b to (num - (100 * a)) / 10
  20.   set c to num - (100 * a) - (10 * b)
  21.   return a & b & c
  22. end
  23.